home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 13647 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: john-ha.cs.auckland.ac.nz!user
  2. From: J.Hamer@cs.auckland.ac.nz (John Hamer)
  3. Newsgroups: comp.lang.c++
  4. Subject: STL destroy() and warnings
  5. Date: Wed, 27 Mar 1996 09:16:16 +1300
  6. Organization: University of Auckland
  7. Message-ID: <J.Hamer-2703960916160001@john-ha.cs.auckland.ac.nz>
  8. NNTP-Posting-Host: john-ha.cs.auckland.ac.nz
  9. X-Newsreader: Value-Added NewsWatcher 2.0b24.0+
  10.  
  11. These questions relate to the October 31, 1995 release of the
  12. Hewlett-Packard implementation of STL, running under Borland C++ 4.5.
  13.  
  14. 1. This STL implementation does not appear to be able to cope directly
  15. with a container of pointers.  The template for destroy() in defalloc.h
  16. attempts to call pointer->~T() where T is a pointer to a pointer type, and
  17. a compiler error results.  What are the recommended work-arounds?
  18.  
  19. 2. I get a large number of compiler warnings about ``Conversion will lose
  20. significant digits'' when compiling with the large memory model.  This
  21. looks to be more of a nuisance than a problem; are there any patches
  22. available to make the compiler shut up?
  23.  
  24. -- John Hamer              Email: J.Hamer@cs.auckland.ac.nz
  25. -- Dept. Computer Science  Phone: +64 9 3737 599 x8758
  26. -- University of Auckland  Fax:   +64 9 3737 453
  27. -- Private Bag 92019, Auckland, New Zealand.
  28.